package com.smile.service;


import com.smile.model.dto.request.DeleteFileRequestDTO;
import com.smile.model.response.response.PutFileResponseDTO;
import org.springframework.web.multipart.MultipartFile;

import java.io.IOException;
import java.io.InputStream;

public interface OssService {

    PutFileResponseDTO putFile(String path,String fileName,MultipartFile file) throws IOException;

    PutFileResponseDTO putFile(String path, String fileName, InputStream file) throws IOException;

    Boolean deleteFile(DeleteFileRequestDTO deleteFileRequestDTO);
}
